<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main"/>
    <g:set var="entityName" value="${message(code: 'menu.label', default: 'Menu')}"/>
    <title>菜单详情</title>
    <style>
    .checkboxGroup {
        display: inline-block;
        padding: 7px 10px;
    }
    </style>
</head>

<body>
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li>CINDATA</li>
                    <li class="active">
                        <span>菜单详情</span>
                    </li>
                </ol>
            </div>

            <h2 class="font-light m-b-xs">
                菜单: ${this.menu.title}
            </h2>
        </div>
    </div>
</div>

<div class="content animate-panel">
    <div class="row">
        <div class="hpanel hblue">
            <div class="panel-heading">
                <div class="panel-tools">
                    <g:link class="btn btn-info btn-xs" action="edit" resource="${this.menu}"><i class="fa fa-edit"></i>编辑</g:link>
                </div>
                菜单详情
            </div>

            <div class="panel-body form-horizontal">

                <div class="form-group">
                    <label class="col-md-2 control-label">名称</label>
                    <div class="col-md-3">
                        <span class="cont">${this.menu?.title}</span>
                    </div>

                    <label class="col-md-2 control-label">地址</label>
                    <div class="col-md-3">
                        <span class="cont">${this.menu?.url}</span>
                    </div>
                </div>

                <div class="hr-line-dashed"></div>

                <div class="form-group">
                    <label class="col-md-2 control-label">排序</label>
                    <div class="col-md-3">
                        <span class="cont">${this.menu?.orderNum}</span>
                    </div>

                    <label class="col-md-2 control-label">状态</label>
                    <div class="col-md-3">
                        <span class="cont">${this.menu?.status == 1 ? '有效' : '无效'}</span>
                    </div>
                </div>

                <div class="hr-line-dashed"></div>

                <div class="form-group">
                    <label class="col-md-2 control-label">父节点</label>
                    <div class="col-md-3">
                        <span class="cont">${this.menu?.parent?.title}</span>
                    </div>

                    <label class="col-md-2 control-label">ACTIVE URL</label>
                    <div class="col-md-3">
                        <span class="cont">${this.menu?.activeUrl}</span>
                    </div>
                </div>

                <div class="hr-line-dashed"></div>

                <div class="form-group">
                    <label class="col-md-2 control-label">ICON</label>
                    <div class="col-md-3">
                        <span class="cont">${this.menu?.icon}</span>
                    </div>
                </div>

                <div class="hr-line-dashed"></div>
                
                <div class="form-group">
                    <label class="col-md-2 control-label">创建时间</label>
                    <div class="col-md-3">
                        <span class="cont"> <g:formatDate date="${this.menu?.createdDate}" format="yyyy-MM-dd HH:mm:ss"></g:formatDate></span>
                    </div>

                    <label class="col-md-2 control-label">修改时间</label>
                    <div class="col-md-3">
                        <span class="cont"> <g:formatDate date="${this.menu?.modifiedDate}" format="yyyy-MM-dd HH:mm:ss"></g:formatDate></span>
                    </div>
                </div>

                <div class="hr-line-dashed"></div>

            </div>
        </div>
    </div>
</div>
</body>
</html>



